<? include('header.php'); ?>
<? include('functions.php'); ?>

	<div id="main">
		{content}
		
		<? if($this->uri->segment(2) == 'contact') email_form(); ?>
	</div>

<? include('footer.php'); ?>